package edu.userclient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * Created by JPhoebe on 2017-7-6.
 */

@SpringBootApplication
@EnableDiscoveryClient
//手动刷新，访问节点   /refresh
//半自动的刷新  使用 /bus/refresh 的节点
//自动刷新
@RefreshScope
public class InitUserService_1Application {

    public static void main(String[] args){

        SpringApplication.run(InitUserService_1Application.class,args);

    }

}
